package cn.stylefeng.guns.modular.productfunction.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 0表示没有，1表示有，2表示选配
 * </p>
 *
 * @author 石博士
 * @since 2019-07-29
 */
@TableName("shi_whether")
public class ShiWhether implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 有，或没有表，主键id
     */
    @TableId(value = "whether_id", type = IdType.AUTO)
    private Long whetherId;

    /**
     * 有，没有，选配
     */
    @TableField("whether_name")
    private String whetherName;


    public Long getWhetherId() {
        return whetherId;
    }

    public void setWhetherId(Long whetherId) {
        this.whetherId = whetherId;
    }

    public String getWhetherName() {
        return whetherName;
    }

    public void setWhetherName(String whetherName) {
        this.whetherName = whetherName;
    }

    @Override
    public String toString() {
        return "ShiWhether{" +
        "whetherId=" + whetherId +
        ", whetherName=" + whetherName +
        "}";
    }
}
